package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomentrust.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "指派委托人对象")
public class AssignPrincipalVO {
    @NotNull(message = "委托ID不能为空")
    @Schema(description = "委托ID")
    private Long entrustId;

    @NotNull(message = "当前跟进人ID不能为空")
    @Schema(description = "当前跟进人ID")
    private Long operatorId;

    @NotNull(message = "当前跟进人姓名不能为空")
    @Schema(description = "当前跟进人姓名")
    private String operatorName;

    @Schema(description = "业主姓名")
    private String name;
    @NotNull(message = "被指派人ID不能为空")
    @Schema(description = "被指派人ID")
    private Long assignId;

    @NotNull(message = "被指派人不能为空")
    @Schema(description = "被指派人姓名")
    private String assignName;

    @Schema(description = "备注")
    private String remark;
}
